import 'package:flutter_structure/modules/guide/guide_page.dart';
import 'package:flutter_structure/modules/tabbar/tabbar.dart';
import 'package:get/get.dart';

class Routes {
  static const String guide = '/guide';      // 引导页
  static const String home = '/home';        // 主页
}


class RoutePages {
  static final List<GetPage> pages = [
     GetPage(
      name: Routes.guide, 
      page: ()=> const GuidePage() ,
      transition: Transition.cupertino, 
      transitionDuration: const Duration(milliseconds: 500)
    ),
    GetPage(
      name: Routes.home, 
      page: () => const Tabbar(),
      transition: Transition.cupertino, 
      transitionDuration: const Duration(milliseconds: 500)
    ),
  ];
}